﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Moq;


namespace MoqStudey
{
    class Program
    {
        static void Main(string[] args)
        {
            var customer = new Mock<ICustomer>();
            customer.Setup(p => p.AddCall());
            customer.Setup(p => p.GetCall()).Returns("phone:89898789");
            customer.Setup(p => p.GetCall("Tom")).Returns("Hello");
            customer.Setup<string>(p=>p.GetCall()).Returns("hello");

            customer.Object.AddCall();

        }
    }
}
